﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TomNet.IMSC.Model.ViewModels.Account
{
    public class BrokerageListModel
    {
        /// <summary>
        /// 佣金流水编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 模块ID
        /// </summary>
        public int ModuleID { get; set; }
        /// <summary>
        /// 流水ID
        /// </summary>
        public int RunningsID { get; set; }
        /// <summary>
        /// 佣金类型ID
        /// </summary>
        public int BrokerageTypeID { get; set; }
        /// <summary>
        /// 对应项目名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 对应项目全款
        /// </summary>
        public decimal ItemPrice { get; set; }
        /// <summary>
        /// 对应项目相关数据
        /// </summary>
        public string ItemTag { get; set; }
        /// <summary>
        /// 对应项目备注
        /// </summary>
        public string ItemRemark { get; set; }
        /// <summary>
        /// 对应项目相关时间
        /// </summary>
        public DateTime ItemTime { get; set; }
        /// <summary>
        /// 中介ID
        /// </summary>
        public int IntermediaryID { get; set; }
        /// <summary>
        /// 中介名称
        /// </summary>
        public string IntermediaryName { get; set; }
        /// <summary>
        /// 经纪人姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 渠道人员
        /// </summary>
        public string OriginStaffName { get; set; }
        /// <summary>
        /// 销售人员ID
        /// </summary>
        public string SellStaffName { get; set; }
        /// <summary>
        /// 客户姓名
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 客户电话
        /// </summary>
        public string CustomerPhone { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 已结金额
        /// </summary>
        public decimal SettledAmount { get; set; }
        /// <summary>
        /// 状态  0待确认   1已确认    2已审核    3已结算    4已结清   5待退款
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime ConfirmTime { get; set; }
        /// <summary>
        /// 确认操作员
        /// </summary>
        public int ConfirmStaffID { get; set; }
        /// <summary>
        /// 确认操作员姓名
        /// </summary>
        public string ConfirmStaffName { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime AuditingTime { get; set; }
        /// <summary>
        /// 审核操作员
        /// </summary>
        public int AuditingStaffID { get; set; }
        /// <summary>
        /// 审核人姓名
        /// </summary>
        public string AuditingStaffName { get; set; }
        /// <summary>
        /// 是否开发票
        /// </summary>
        public int IsReceipt { get; set; }
        /// <summary>
        /// 税款
        /// </summary>
        public decimal Tax { get; set; }
        /// <summary>
        /// 代理ID
        /// </summary>
        public int AgentID { get; set; }
        /// <summary>
        /// 带看图片数量
        /// </summary>
        public int ItemImageType1Number { get; set; }
        /// <summary>
        /// 认购图片数量
        /// </summary>
        public int ItemImageType2Number { get; set; }
        /// <summary>
        /// 备案图片数量
        /// </summary>
        public int ItemImageType3Number { get; set; }
    }
}
